Make maybe_gc inline.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 20 Jul 2012 13:14:58 +0000 (17:14 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 20 Jul 2012 13:14:58 +0000 (17:14 +0400)
commitf875337967d4039e03836b9d641a239523527325
tree8f74b6e16cdb9120649b84f1bd387b1743e08e8e
parentaf75c1efb1d2b946929932b866ec46d1bbc3377c
Make maybe_gc inline.
Verify that inlining is always possible (GCC 4.7.1, -O3 -Winline).
* lisp.h (consing_since_gc, gc_relative_threshold)
(memory_full_cons_threshold): Revert declaration.
(maybe_gc): Remove prototype, define as inline.
* alloc.c: Remove old commented-out code.
(consing_since_gc, gc_relative_threshold)
(memory_full_cons_threshold): Revert to global.
(maybe_gc): Remove.
src/ChangeLog
src/alloc.c
src/lisp.h